/* eslint-disable */
import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import user from './modules/user'
import navStyle from './modules/navStyle'
import checkMobile from './modules/checkMobile'
import navBar from './modules/navBar'
import mSymbol from './modules/mSymbol'
import getters from './getters'

//直播
// import conversation from './livling_pdl/conversation'
// import group from './livling_pdl/group'
// import livuser from './livling_pdl/user'
// import blacklist from './livling_pdl/blacklist'
import createLogger from 'vuex/dist/logger'
const debug = process.env.NODE_ENV !== 'production'

Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    comheader:'@/assets/img/comheader.jpg'
  },
  modules: {
    app,
    user,
    navStyle,
    checkMobile,
    navBar,
     //直播
    // conversation,
    // group,
    // blacklist,
    // livuser,
    // 自定义符号
    mSymbol
  },
  getters,
  strict: debug,
  plugins: debug ? [createLogger()] : []
})

export default store
